<?php 
		// print client list
		for($i=0; $i<count($clientList); $i++)
		{
			$url = "./home/clientInfo/".$clientList[$i]->id;
			echo "<a id='client' onClick=\"if(refresher!= '') refresher.stop(); refresher = new Ajax.PeriodicalUpdater($('rightContainer'), '".$url."', {asynchronous:true, frequency:3}); ";
			echo "new Ajax.Updater($('navigate'), './home/rewriteNavigater', {parameters: { url: '".$url."', name: '".$clientList[$i]->name."', layer: 1}}); \">";
			echo "<span id='name'>".$clientList[$i]->name."</span>";
			echo "<span>".$clientList[$i]->hostname."</span>";
			echo "</a>";
			
			$url = "./client/removeClientConfirm/".$clientList[$i]->id;
			echo "<a onClick=\"if(refresher!= '') refresher.stop(); new Ajax.Updater($('rightContainer'), '".$url."'); ";
			echo "new Ajax.Updater($('navigate'), './home/rewriteNavigater', {parameters: { url: '".$url."', name: 'Remove ".$clientList[$i]->name."', layer: 1}}); \">";
			echo "<div id='remove'></div></a>";
			
			$url = "./client/editClientForm/".$clientList[$i]->id;
			echo "<a onClick=\"if(refresher!= '') refresher.stop(); new Ajax.Updater($('rightContainer'), '".$url."'); ";
			echo "new Ajax.Updater($('navigate'), './home/rewriteNavigater', {parameters: { url: '".$url."', name: 'Edit ".$clientList[$i]->name."', layer: 1}}); \">";
			echo "<div id='edit'></div></a>";
		}
	?>